//
//  AppManager.m
//  MVPManager
//
//  Created by 李亚军 on 2017/4/28.
//  Copyright © 2017年 李亚军. All rights reserved.
//

#import "AppManager.h"
#import "AppInfoModel.h"

@interface AppManager ()

/// app 信息 model
@property(nonatomic , strong) AppInfoModel *appInfomodel;

@end


static AppManager *appManager = nil;
@implementation AppManager

#pragma mark - 实例化变量
+ (AppManager *)shareManager {
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        
        appManager = [AppManager new];
        appManager.appInfomodel = [AppInfoModel new];
    });
    return appManager;
}


- (AppManager *)setAppWithDriverType:(DriverType)driverType appDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    [appManager configureAppAttributesWithDriverType:driverType appDriverOrgan:appDriverOrgan];
    
    return appManager;
}

#pragma mark - 配置司机类型(出租车,快车,专车...),司机运营企业(约约,潮运,运通...)
/// 配置司机类型(出租车,快车,专车...),司机运营企业(约约,潮运,运通...)
- (void)configureAppAttributesWithDriverType:(DriverType)driverType appDriverOrgan:(AppDriverOrgan)appDriverOrgan  {
    
    switch (driverType) {
        case DriverTypeTaxi:{ // 出租车
            
            [self taxiManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
        case DriverTypeSpecialCar: { // 专车
            
            [self specialCarManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
        case DriverTypeCarPooling: { // 拼车
            
            [self carPoolingManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
        case DriverTypeExpressCar: { // 快车
            
            [self expressCarManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
        case DriverTypeCargoTaxi: { // 货的
            
            [self cargoTaxiManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
        case DriverTypeRider: { // 骑手
            
            [self riderManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
        case DriverTypeHouseMoving: { // 搬家
            
            [self houseMovingManagerWithAppDriverOrgan:appDriverOrgan];
            break;
        }
    }
}


#pragma mark - 出租车管理,出租车下开通的运营企业
/// 出租车管理,出租车下开通的运营企业
- (void)taxiManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: {   // 约约出租车司机端
            
            [self configureTaxiOriginOfYueYue];
            break;
        }
        
        case AppDriverOrganNameOfChaoYun: {  // 潮运出租车司机端
            
            break;
        }
        
        case AppDriverOrganNameOfWeiBa: {    // 微巴出租车司机端
            
            
            break;
        }
        case AppDriverOrganNameOfKuaiJie: {  // 快捷出租车司机端
            
            break;
        }
        
        case AppDriverOrganNameOfXuanXuan: { // 轩轩出租车司机端
            
            break;
        }
    }
}

#pragma mark - 专车管理,专车下开通的运营企业
/// 专车管理,专车下开通的运营企业
- (void)specialCarManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: { // 约约专车
            
            [self configureSpecialCarOriginOfYueYue];
            break;
        }
        case AppDriverOrganNameOfChaoYun: { // 潮运专车司机端
            
            [self configureSpecialCarOriginOfChaoYun];
            break;
        }
            
        case AppDriverOrganNameOfWeiBa: {   // 微巴专车司机端
            
            [self configureSpecialCarOriginOfWeiBa];
            break;
        }
        case AppDriverOrganNameOfKuaiJie: { // 快捷专车司机端
            
            [self configureSpecialCarOriginOfKuaiJie];
            break;
        }
            
        case AppDriverOrganNameOfXuanXuan: { // 轩轩专车司机端
            
            [self configureSpecialCarOriginOfXuanXuan];
            break;
        }
        case AppDriverOrganNameOfWeiWeiYunLi: {
            

            break;
        }
        case AppDriverOrganNameOfMiaoSheng: {
            
            [self configureSpecialCarOriginOfMiaoSheng];
            break;
        }
        case AppDriverOrganNameOfHuiYue: {
            
            [self configureSpecialCarOriginOfHuiYue];
            break;
        }
    }
    
}

#pragma mark - 拼车管理,拼车下开通的运营企业
/// 拼车管理,拼车下开通的运营企业
- (void)carPoolingManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: { // 约约拼车司机端
            
            break;
        }
        case AppDriverOrganNameOfChaoYun: { // 潮运拼车司机端
            
            break;
        }
            
        case AppDriverOrganNameOfWeiBa: {   // 微巴拼车司机端
            
            
            break;
        }
        case AppDriverOrganNameOfKuaiJie: { // 快捷拼车司机端
            
            break;
        }
        case AppDriverOrganNameOfXuanXuan: { // 轩轩拼车司机端
            
            break;
        }
    }
}

#pragma mark - 快车管理,快车下开通的运营企业
/// 快车管理,快车下开通的运营企业
- (void)expressCarManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: {   // 约约快车司机端
            
            [self configureExpressCarOriginOfYueYue];
            break;
        }
        case AppDriverOrganNameOfChaoYun: {  // 潮运快车司机端
            
            
            break;
        }
            
        case AppDriverOrganNameOfWeiBa: {    // 微巴快车司机端
            
            
            break;
        }
        case AppDriverOrganNameOfKuaiJie: {  // 快捷快车司机端
            
            break;
        }

        case AppDriverOrganNameOfXuanXuan: { // 轩轩快车司机端
            
            break;
        }
        case AppDriverOrganNameOfWeiWeiYunLi: {
            
            break;
        }
        case AppDriverOrganNameOfMiaoSheng: {
            
            break;
        }
    }
}

#pragma mark - 货的管理,货的下开通的运营企业
/// 货的管理,货的下开通的运营企业
- (void)cargoTaxiManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: {   // 约约货的司机端
            
            [self configureCargoTaxiOriginOfYueYue];
            break;
        }
        case AppDriverOrganNameOfChaoYun: {  // 潮运货的司机端
            
            break;
        }
            
        case AppDriverOrganNameOfWeiBa: {    // 微巴货的司机端
            
            
            break;
        }
        case AppDriverOrganNameOfKuaiJie: {  // 快捷货的司机端
            
            break;
        }
            
        case AppDriverOrganNameOfXuanXuan: { // 轩轩货的司机端
            
            break;
        }
        case AppDriverOrganNameOfWeiWeiYunLi: { // 微微运力端
            
            [self configureCargoTaxiOriginOfWeiWeiYunLi];
            break;
        }
    }
}

#pragma mark - 骑手管理,货的下开通的运营企业
/// 骑手管理,骑手下开通的运营企业
- (void)riderManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: {   // 约约骑手司机端
            
            [self configureRiderOriginOfYueYue];
            break;
        }
        case AppDriverOrganNameOfChaoYun: {  // 潮运骑手司机端
            
            break;
        }
            
        case AppDriverOrganNameOfWeiBa: {    // 微巴骑手司机端
            
            
            break;
        }
        case AppDriverOrganNameOfKuaiJie: {  // 快捷骑手司机端
            
            break;
        }
            
        case AppDriverOrganNameOfXuanXuan: { // 轩轩骑手司机端
            
            break;
        }
    }
}

#pragma mark - 搬家管理,货的下开通的运营企业
/// 搬家管理,搬家下开通的运营企业
- (void)houseMovingManagerWithAppDriverOrgan:(AppDriverOrgan)appDriverOrgan {
    
    switch (appDriverOrgan) {
        case AppDriverOrganNameOfYueYue: {   // 约约搬家司机端
            
            [self configureHouseMovingOriginOfYueYue];
            break;
        }
        case AppDriverOrganNameOfChaoYun: {  // 潮运搬家司机端
            
            break;
        }
    
        case AppDriverOrganNameOfWeiBa: {    // 微巴搬家司机端
            
            
            break;
        }
        case AppDriverOrganNameOfKuaiJie: {  // 快捷搬家司机端
            
            break;
        }
            
        case AppDriverOrganNameOfXuanXuan: { // 轩轩搬家司机端
            
            break;
        }
    }
}

#pragma mark - 获取 App 信息
/// 获取 App 信息
- (AppInfoModel *)getAppInfo {
    
    return self.appInfomodel;
}

#pragma mark - 司机运营企业管理
#pragma mark - 出租车管理,出租车下管理的企业信息配置
/// 配置约约出租车司机端信息
- (void)configureTaxiOriginOfYueYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"9dd58b6d5f64a22d00c3f6264f8ce597";
    
        if (DEBUGMODEL) {

            // 测试服
//            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
//            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
            
            // 正式服
            self.appInfomodel.AppServerAddress = @"http://118.178.190.173:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://114.55.237.29:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://118.178.190.173:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://114.55.237.29:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeTaxi;
        
        self.appInfomodel.AppName = @"约约出租车司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.taxi";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4001160592";
        
        self.appInfomodel.AppGDMapKey = @"71ac88c52929cc5b4a64ab84c4e2e71e";
        
        self.appInfomodel.AppWeixinKey = @"wx70970075c20e2de9";
        
        self.appInfomodel.AppAliPaykey = @"2016092001935305";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2016092001935305";
        
        self.appInfomodel.AppIfMSCKey = @"586086c1";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverTypeTaxi;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfYueYue;
    }
}

#pragma mark - 专车管理,专车下管理的企业信息配置
/// 配置约约专车司机端信息
- (void)configureSpecialCarOriginOfYueYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"9dd58b6d5f64a22d00c3f6264f8ce597";
        
        if (DEBUGMODEL) {
            
            // 测试服
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
            
            // 正式服
//            self.appInfomodel.AppServerAddress = @"http://118.178.190.173:8680";
//            self.appInfomodel.AppWebSocketAddress = @"ws://114.55.237.29:9999";
            
//            self.appInfomodel.AppServerAddress = @"http://192.168.1.75:8090";
//            self.appInfomodel.AppWebSocketAddress = @"ws://192.168.1.75:9999";
            
        }else {
            
            // 正式服
//            self.appInfomodel.AppServerAddress = @"http://118.178.190.173:8680";
//            self.appInfomodel.AppWebSocketAddress = @"ws://114.55.237.29:9999";
            
            // 测试服
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"约约专车司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.specialTrain";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4001160592";
        
        self.appInfomodel.AppGDMapKey = @"a7c51c6c425d00ef2e1eed562ca6a8c3";
        
        self.appInfomodel.AppWeixinKey = @"wx9f9f6543465f0030";
        
        self.appInfomodel.AppAliPaykey = @"2016092001935305";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521266786197";
        
        self.appInfomodel.AppIfMSCKey = @"58608656";
        
        self.appInfomodel.AppVersion = @"2.1.0";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfYueYue;
    }
}

/// 配置潮运专车司机端信息
- (void)configureSpecialCarOriginOfChaoYun {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"77b9acac1a7311e7893e00163e04123c";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://119.23.33.50:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://119.23.29.192:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://119.23.33.50:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://119.23.29.192:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"潮运出行司机端";
        
        self.appInfomodel.AppBundleId = @"com.0768zc.chaoyunDriver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"07682330768";
        
        self.appInfomodel.AppGDMapKey = @"89e79f58821be7e0dff9f4e8f6bbdb95";
        
        self.appInfomodel.AppWeixinKey = @"wxc5fc11b5679fe5b6";
        
        self.appInfomodel.AppAliPaykey = @"2088521266786197";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521266786197";
        
        self.appInfomodel.AppIfMSCKey = @"58293126";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfChaoYun;
    }
}

/// 配置微巴出行司机端信息
- (void)configureSpecialCarOriginOfWeiBa {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"53ef6234243711e7834900163e06de00";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://120.77.42.227:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://112.74.170.10:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://120.77.42.227:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://112.74.170.10:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"微巴出行司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.WeiBaDriver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4009008673";
        
        self.appInfomodel.AppGDMapKey = @"ac7053ee565438bdabf5ab6e6d2390d9";
        
        self.appInfomodel.AppWeixinKey = @"wxd166ad70ef43f276";
        
        self.appInfomodel.AppAliPaykey = @"2088521344049264";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521344049264";
        
        self.appInfomodel.AppIfMSCKey = @"58341059";
        
        self.appInfomodel.AppVersion = @"2.1";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfWeiBa;
    }
}

/// 配置快捷出行司机端信息
- (void)configureSpecialCarOriginOfKuaiJie {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"067f565b28b511e79a9700163e12ce40";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://59.110.166.241:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://59.110.169.39:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://59.110.166.241:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://59.110.169.39:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"快捷出行司机端";
        
        self.appInfomodel.AppBundleId = @"com.yuntongchelian.kuaijieDriver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"010-65002789";
        
        self.appInfomodel.AppGDMapKey = @"657ec03c3ce84f644dc82d5cbf7c47be";
        
        self.appInfomodel.AppWeixinKey = @"";
        
        self.appInfomodel.AppAliPaykey = @"2088521264184933";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521264184933";
        
        self.appInfomodel.AppIfMSCKey = @"5844cc98";
        
        self.appInfomodel.AppVersion = @"2.1";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfKuaiJie;
    }
}


/// 配置轩轩专车司机端信息
- (void)configureSpecialCarOriginOfXuanXuan {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"c4814be7309811e7b23600163e329925";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://123.56.176.18:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://60.205.142.136:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://123.56.176.18:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://60.205.142.136:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"轩轩出行司机端";
        
        self.appInfomodel.AppBundleId = @"com.xxchuxing.driver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"400-888-1212";
        
        self.appInfomodel.AppGDMapKey = @"4e79840203dc9e6b1d66b821ff54fcec";
        
        self.appInfomodel.AppWeixinKey = @"wxae318c42604762d4";
        
        self.appInfomodel.AppAliPaykey = @"2088421492433563";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088421492433563";
        
        self.appInfomodel.AppIfMSCKey = @"587ecf57";
        
        self.appInfomodel.AppVersion = @"2.1.1";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfXuanXuan;
    }
}

/// 配置妙盛专车司机端信息
- (void)configureSpecialCarOriginOfMiaoSheng {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"00f5a3ff45ae11e79a9700163e12ce40";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://116.62.115.197:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://121.43.177.5:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://116.62.115.197:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://121.43.177.5:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"妙盛出行司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.MiaoshengDriver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"0311-85529955";
        
        self.appInfomodel.AppGDMapKey = @"46efefc1d55f0c405ac7c5b345e21852";
        
        self.appInfomodel.AppWeixinKey = @"";
        
        self.appInfomodel.AppAliPaykey = @"2088721022254902";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088721022254902";
        
        self.appInfomodel.AppIfMSCKey = @"59293522";
        
        self.appInfomodel.AppVersion = @"1.0.0";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfMiaoSheng;
    }
}

/// 配置汇约专车司机端信息
- (void)configureSpecialCarOriginOfHuiYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"649266654cf311e79a9700163e12ce40";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://123.207.96.142:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://118.89.61.213:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://123.207.96.142:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://118.89.61.213:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeSpecialCar;
        
        self.appInfomodel.AppName = @"汇约出行司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.HuiYueDriver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"400-6630666";
        
        self.appInfomodel.AppGDMapKey = @"fc9ff82ccc4aa90f553aa13e62231d84";
        
        self.appInfomodel.AppWeixinKey = @"";
        
        self.appInfomodel.AppAliPaykey = @"2088611024562113";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088611024562113";
        
        self.appInfomodel.AppIfMSCKey = @"59364c12";
        
        self.appInfomodel.AppVersion = @"2.1";
        
        self.appInfomodel.AppDriverType = DriverTypeSpecialCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfHuiYue;
    }
}

#pragma mark - 拼车管理,拼车下管理的企业信息配置

#pragma mark - 快车管理,快车下管理的企业信息配置

/*
 注释: 由于快车业务与专车业务完全相同,这里的设置与专车保持一致
 */

/// 配置约约快车司机端
- (void)configureExpressCarOriginOfYueYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"9dd58b6d5f64a22d00c3f6264f8ce597";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeExpressCar;
        
        self.appInfomodel.AppName = @"约约专车司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.specialTrain";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4001160592";
        
        self.appInfomodel.AppGDMapKey = @"a7c51c6c425d00ef2e1eed562ca6a8c3";
        
        self.appInfomodel.AppWeixinKey = @"wx9f9f6543465f0030";
        
        self.appInfomodel.AppAliPaykey = @"2016092001935305";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521266786197";
        
        self.appInfomodel.AppIfMSCKey = @"58608656";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverTypeExpressCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfYueYue;
    }
}

/// 配置潮运快车司机端信息
- (void)configureExpressCarOriginOfChaoYun {
    
    if (self.appInfomodel) {
        

    }
}

/// 配置微巴快车司机端信息
- (void)configureExpressCarOriginOfWeiBa {
    
    if (self.appInfomodel) {
        

    }
}

#pragma mark - 货的管理,货的下管理的企业信息配置
/// 配置约约货的司机端
- (void)configureCargoTaxiOriginOfYueYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"9dd58b6d5f64a22d00c3f6264f8ce597";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeCargoTaxi;
        
        self.appInfomodel.AppName = @"约约专车司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.specialTrain";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4001160592";
        
        self.appInfomodel.AppGDMapKey = @"a7c51c6c425d00ef2e1eed562ca6a8c3";
        
        self.appInfomodel.AppWeixinKey = @"wx9f9f6543465f0030";
        
        self.appInfomodel.AppAliPaykey = @"2016092001935305";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521266786197";
        
        self.appInfomodel.AppIfMSCKey = @"58608656";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverTypeExpressCar;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfYueYue;
    }
}
/// 配置微微运力-货的
- (void)configureCargoTaxiOriginOfWeiWeiYunLi {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"27bc7d0736e011e786ba00163e16";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://47.93.185.58:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://47.93.103.149:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://47.93.185.58:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://47.93.103.149:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeCargoTaxi;
        
        self.appInfomodel.AppName = @"微微运力端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.WeiWeiYunLiDriver";
        
        self.appInfomodel.AppOperatorCustomerTel = @"0312-2160088";
        
        self.appInfomodel.AppGDMapKey = @"9e7e96237543dc642ac445c2526e1480";
        
        self.appInfomodel.AppWeixinKey = @"wx9f9f6543465f00301";
        
        self.appInfomodel.AppAliPaykey = @"2088621161849646";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088621161849646";
        
        self.appInfomodel.AppIfMSCKey = @"58abf4a2";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverTypeCargoTaxi;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfWeiWeiYunLi;
    }
}

#pragma mark - 骑手管理,骑手下管理的企业信息配置
/// 配置约约骑手司机端
- (void)configureRiderOriginOfYueYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"9dd58b6d5f64a22d00c3f6264f8ce597";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeRider;
        
        self.appInfomodel.AppName = @"约约专车司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.specialTrain";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4001160592";
        
        self.appInfomodel.AppGDMapKey = @"a7c51c6c425d00ef2e1eed562ca6a8c3";
        
        self.appInfomodel.AppWeixinKey = @"wx9f9f6543465f0030";
        
        self.appInfomodel.AppAliPaykey = @"2016092001935305";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521266786197";
        
        self.appInfomodel.AppIfMSCKey = @"58608656";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverTypeExpressCar;
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfYueYue;
    }
}

#pragma mark - 搬家管理,搬家下管理的企业信息配置
/// 配置约约搬家司机端
- (void)configureHouseMovingOriginOfYueYue {
    
    if (self.appInfomodel) {
        
        self.appInfomodel.AppId = @"9dd58b6d5f64a22d00c3f6264f8ce597";
        
        if (DEBUGMODEL) {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }else {
            
            self.appInfomodel.AppServerAddress = @"http://101.37.30.146:8680";
            self.appInfomodel.AppWebSocketAddress = @"ws://120.26.224.236:9999";
        }
        
        self.appInfomodel.AppDriverLoginType = DriverLoginTypeExpressCar;
        
        self.appInfomodel.AppName = @"约约专车司机端";
        
        self.appInfomodel.AppBundleId = @"com.qianxx.specialTrain";
        
        self.appInfomodel.AppOperatorCustomerTel = @"4001160592";
        
        self.appInfomodel.AppGDMapKey = @"a7c51c6c425d00ef2e1eed562ca6a8c3";
        
        self.appInfomodel.AppWeixinKey = @"wx9f9f6543465f0030";
        
        self.appInfomodel.AppAliPaykey = @"2016092001935305";
        
        self.appInfomodel.AppAliPayCallBackValue = @"AliPay2088521266786197";
        
        self.appInfomodel.AppIfMSCKey = @"58608656";
        
        self.appInfomodel.AppVersion = @"2.0";
        
        self.appInfomodel.AppDriverType = DriverLoginTypeHouseMoving;
        
        self.appInfomodel.AppDriverOrgan = AppDriverOrganNameOfYueYue;
    }
}

@end
